package com.atguigu.msmservice;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.context.annotation.ComponentScan;

/**
 * @author ct_start
 * @create 2021 -08 -20
 **/
@SpringBootApplication(exclude = DataSourceAutoConfiguration.class) // 这里代表不去自动加载数据库的信息,可以解决有mybaits但是可以不用有配置文件而不出错
@ComponentScan("com.atguigu")
 public class MsmAppliaction {

    public static void main(String[] args) {
        SpringApplication.run(MsmAppliaction.class, args);
    }
}
